// import Loadable from 'react-loadable'
import { getComponentConfig } from '@/utils'

let routesConfig = [
  {
    path: '/',
    component: getComponentConfig({
      componentName: 'Weiduan',
    }),
  },
  {
    path: '/index',
    component: getComponentConfig({
      componentName: 'Index',
      componentConfig: 'index'
    }),
  },
  {
    path: '/weiduan',
    component: getComponentConfig({
      componentName: 'Weiduan',
    }),
  },
  {
    path: '/huiyuan/:type',
    component: getComponentConfig({
      componentName: 'Huiyuan',
    }),
  },
  {
    path: '/tihuan',
    component: getComponentConfig({
      componentName: 'Tihuan',
    }),
  },
  {
    path: '/bianliang/:type',
    component: getComponentConfig({
      componentName: 'Bianliang',
    }),
  },
  {
    path: '/jiaoben',
    component: getComponentConfig({
      componentName: 'Jiaoben',
    }),
  },
  {
    path: '/iframe/:type',
    component: getComponentConfig({
      componentName: 'Iframe',
    }),
  },
  {
    path: '/fileTH',
    component: getComponentConfig({
      componentName: 'FileTH',
    }),
  },
]

export {routesConfig}
